home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
ddj0897.zip
/
DYN401.ZIP
/
class
/
makefile.unx
< prev
next >
Wrap
Makefile
|
1997-04-16
|
1KB
|
53 lines
include ../makefile.inc
DPPOPTS += -g $(INCDIR)/generics.h
CLASSES = linklist.d link.d linkval.d linkobj.d shortint.d assoc.d \
lookupky.d set.d dict.d string.d longint.d double.d \
char.d setseq.d loseq.d strassoc.d strdict.d linkseq.d ushrtint.d \
date.d pointer.d number.d objassoc.d \
sequence.d stream.d file.d lowfile.d array.d charary.d \
const.d shortary.d ushrtary.d intary.d longary.d floatary.d \
dblary.d bitary.d objary.d pntrary.d numbary.d intassoc.d \
intdict.d btree.d btreenod.d memory.d
OBJ = $(CLASSES:.d=.o) memalloc.o
#allok.unx : $(INCDIR)/generics.h $(LIBDIR)/dynace.a
# echo Done >$@
$(LIBDIR)/dynace.a : $(OBJ)
$(AR) $(ARFLAGS) $@ $?
@if [ -f /usr/bin/ranlib -o -f /bin/ranlib ];\
then \
echo ranlib $@;\
ranlib $@;\
fi
$(INCDIR)/generics.h : $(CLASSES)
$(DPP) $(DPPOPTS) -g $(INCDIR)/generics.h -t $(INCDIR)/generics.h -h $(INCDIR)/generics.h -p $^
dict.o set.o setseq.o strdict.o intdict.o : set1.h
string.o array.o : memalloc.h
array.o : array2.h
array.o charary.o shortary.o ushrtary.o longary.o floatary.o \
dblary.o bitary.o objary.o pntrary.o: array1.h
memalloc.c : memalloc.d
cp memalloc.d memalloc.c
newgens:
$(DPP) $(DPPOPTS) -g $(INCDIR)/generics.h -p $(CLASSES) -h $(INCDIR)/generics.h
clean:
-rm -f *.obj *.exe generics.* main *.o core *~ *.pdb allok.unx